package com.ym.b2b.salesman.dao;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.salesman.sqlbean.EmBSalesmanProvider;
import com.zc.commons.base.Page;

public interface EmBSalesmanProviderDAO {

    Long searchPageEmBSalesmanProviderNum(EmBSalesmanProvider embsalesmanprovider) throws DataAccessException;

    public Page searchPageEmBSalesmanProvider(EmBSalesmanProvider embsalesmanprovider, Page<EmBSalesmanProvider> page)
                                                                                                                      throws DataAccessException;

    void insertEmBSalesmanProvider(EmBSalesmanProvider record) throws DataAccessException;

    int updateEmBSalesmanProvider(EmBSalesmanProvider record) throws DataAccessException;

    EmBSalesmanProvider searchEmBSalesmanProvider(Long salesmanProviderId) throws DataAccessException;

    void deleteEmBSalesmanProvider(EmBSalesmanProvider record) throws DataAccessException;

    void deleteMultipleEmBSalesmanProviders(String belongIdList);
}
